Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Conversation

@rhrazdil
Copy link
Contributor

@rhrazdil rhrazdil commented Oct 17, 2025

Hello,
In this PR I propose returing date in a predictable format.
Currently, quesma returns datetime formatted as %v, which
by default yields format in the following format

2023-10-05 14:30:45 +0000 UTC

However, when the time.Time structure has microseconds, the
resulting time string contains it as well:

2023-10-05 14:30:45.123456 +0000 UTC

This make parsing tricky for clients in cases where some records don't contain microsecond precision.

Code change is covered by unit tests and I also tested E2E.

@rhrazdil rhrazdil requested a review from a team as a code owner October 17, 2025 14:18
Addressing the static check linter.

Signey-off-by: Radim Hrazdil <[email protected]>
@sonarqubecloud
Copy link

@rhrazdil
Copy link
Contributor Author

Any reviewers please? @nablaone @mieciu

@cezpiw
Copy link
Member

cezpiw commented Oct 31, 2025

Hi @rhrazdil,

Thank you for taking the time to submit this PR with the explanation of the datetime formatting issue. We appreciate your contribution and the quality of your work.

We want to inform you that the Quesma database gateway IP has been acquired by Hydrolix. Consequently, this repository is no longer actively maintained by Quesma team, and we are unable to review and merge new contributions anymore.

For more details, please see the official announcement.

If you would like to pursue this contribution further, we encourage you to reach out to Hydrolix directly here.

Thank you again for your interest in improving the project .

Best regards,
Quesma Team

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants